package com.example.entity.mysql;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiangPandeng
 * @since 2024-05-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Factory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工厂ID")
    @TableId(value = "factoryId", type = IdType.AUTO)
    private Integer factoryid;

    /**
     * 工厂名称
     */
    @ApiModelProperty(value = "工厂名称")
    @TableField("factoryName")
    private String factoryname;

    /**
     * 工厂编号
     */
    @ApiModelProperty(value = "工厂编号")
    @TableField("factoryNO")
    private String factoryno;


}
